package cn.com.mjsoft.framework.persistence.core.type;

import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.sql.Types;

/**
 * sql Numeric类型处理
 * @author mjsoft
 * 
 */
public class SqlTypeNumeric extends AbstractCustomTypeValue
{

    public SqlTypeNumeric( Integer sqlType, String typeName, Object value )
    {
        super( sqlType, typeName, value );
    }

    public void setTypeValue( PreparedStatement ps, int paramIndex )
        throws SQLException
    {
        ps.setObject( paramIndex, value, Types.NUMERIC );

    }

}
